<?php
require_once __DIR__ . DIRECTORY_SEPARATOR . 'Auth.php';

final class AuthByVar extends auth {
	private
		$_user = 'username', // username to compare
		$_pass = 'pass'; // encrypted password to compare
	
	protected function _do_validation () {
		if ($this->user == $this->_user && $this->pass == $this->_pass)
			$this->valid = TRUE;
		
		$this->setUserData(array(
			'user' => $this->user
			));
	}
	
	// encrypt default: md5
}
